﻿using System;

namespace JXT.PrimaryKey.Batman.Core.Security
{
    /// <summary>
    /// 安全异常信息
    /// </summary>
    public class SecurityException : Exception
    {
        /// <summary>
        /// 默认构造方法
        /// </summary>
        public SecurityException()
        {
        }

        /// <summary>
        /// 构造方法
        /// </summary>
        /// <param name="message">异常消息</param>
        public SecurityException(string message)
            : base(message)
        {
        }

        /// <summary>
        /// 构造方法
        /// </summary>
        /// <param name="message">异常消息</param>
        /// <param name="innerException">包含的其他异常</param>
        public SecurityException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
    }
}
